dnd: Prevent black background in icons
authorMatthias Clasen <mclasen@redhat.com>
Wed, 2 Dec 2015 05:03:11 +0000 (00:03 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Dec 2015 05:03:11 +0000 (00:03 -0500)
gtk/gtkdnd.c

index a525fd977088235f846255ca91debb27e1deee6d..2d95e22a3badc2cae0ab97a021f5572c1a1bda80 100644 (file)
@@ -2670,7 +2670,7 @@ set_icon_helper (GdkDragContext     *context,
                                          gtk_widget_get_style_context (window),
                                          gdk_window_get_scale_factor (root));
   surface = gdk_window_create_similar_surface (root,
-                                               CAIRO_CONTENT_COLOR,
+                                               CAIRO_CONTENT_COLOR_ALPHA,
                                                width, height);
 
   cr = cairo_create (surface);